package com.healthcloud.service.losewisdom;


import com.healthcloud.dto.req.losewisdom.LoseWisdomListReq;
import com.healthcloud.entity.losewisdom.LoseWisdomAdieEntity;
import com.healthcloud.utils.PageParam;

import java.util.List;
import java.util.Map;

/**
 * 失智老人AD-IE问卷表
 * 
 * @author yucl
 * @email yucailong1111@126.com
 * @date 2020-10-15 15:18:22
 */
public interface LoseWisdomAdieService {

	/**
	 * 根据id获取AD-IE问卷详情
	 * @param id
	 * @return
	 */
	LoseWisdomAdieEntity queryObject(Integer id);

	/**
	 * 获取AD-IE问卷列表
	 * @param bean
	 * @param pageParam
	 * @return
	 */
    List<LoseWisdomAdieEntity> queryList(LoseWisdomListReq bean, PageParam pageParam);

	/**
	 * 获取AD-IE问卷列表总数
	 * @param bean
	 * @return
	 */
	int queryTotal(LoseWisdomListReq bean);

	/**
	 * 新增AD-IE问卷信息
	 * @param loseWisdomAdie
	 */
	void save(LoseWisdomAdieEntity loseWisdomAdie);

	/**
	 * 修改AD-IE问卷信息
	 * @param loseWisdomAdie
	 */
	void update(LoseWisdomAdieEntity loseWisdomAdie);

	/**
	 * 删除AD-IE问卷信息
	 * @param id
	 */
	void delete(Integer id);

	/**
	 * 批量删除AD-IE问卷信息
	 * @param ids
	 */
	void deleteBatch(Integer[] ids);
}
